<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>person</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">person</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/inTouch/loginDisplay.do</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>userName</td>
	<td>chris</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>password</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>login</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=People</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Add Person']</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>titleCode</td>
	<td>label=Mr</td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>Jeffery</td>
</tr>
<tr>
	<td>type</td>
	<td>middleName</td>
	<td>Allan</td>
</tr>
<tr>
	<td>type</td>
	<td>surname</td>
	<td>Mason</td>
</tr>
<tr>
	<td>select</td>
	<td>familyId</td>
	<td>label=Mason</td>
</tr>
<tr>
	<td>type</td>
	<td>dateOfBirth</td>
	<td>11/09/1970</td>
</tr>
<tr>
	<td>click</td>
	<td>genderCode</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>maritalStatusCode</td>
	<td>label=Single</td>
</tr>
<tr>
	<td>select</td>
	<td>countryOfBirthCode</td>
	<td>label=Australia</td>
</tr>
<tr>
	<td>select</td>
	<td>personTypeCode</td>
	<td>label=Attendee</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>firstName</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>Jeff</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jeffery</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Mason</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>View Person</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jeffery</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Allan</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Mason</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>11/09/1970</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Australia</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Single</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Attendee</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Edit Person</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>homeAddress.numberAndStreet</td>
	<td>18 Marilyn Way</td>
</tr>
<tr>
	<td>type</td>
	<td>homeAddress.suburb</td>
	<td>Ringwood</td>
</tr>
<tr>
	<td>type</td>
	<td>homeAddress.postCode</td>
	<td>3333</td>
</tr>
<tr>
	<td>select</td>
	<td>homeAddress.stateCode</td>
	<td>label=VIC</td>
</tr>
<tr>
	<td>select</td>
	<td>homeAddress.countryCode</td>
	<td>label=Australia</td>
</tr>
<tr>
	<td>select</td>
	<td>homeAddress.regionCode</td>
	<td>label=City of Kingston</td>
</tr>
<tr>
	<td>type</td>
	<td>postalAddress.numberAndStreet</td>
	<td>Po Box 144</td>
</tr>
<tr>
	<td>type</td>
	<td>postalAddress.suburb</td>
	<td>Ringwood</td>
</tr>
<tr>
	<td>type</td>
	<td>postalAddress.postCode</td>
	<td>3333</td>
</tr>
<tr>
	<td>select</td>
	<td>postalAddress.stateCode</td>
	<td>label=VIC</td>
</tr>
<tr>
	<td>select</td>
	<td>postalAddress.countryCode</td>
	<td>label=Australia</td>
</tr>
<tr>
	<td>type</td>
	<td>homePhone.contact</td>
	<td>98889999</td>
</tr>
<tr>
	<td>click</td>
	<td>homePhone.canContact</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>homePhone.isPrivate</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>mobile.contact</td>
	<td>0402221234</td>
</tr>
<tr>
	<td>click</td>
	<td>mobile.isPrivate</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>email.contact</td>
	<td>jeff@email.com</td>
</tr>
<tr>
	<td>click</td>
	<td>email.canContact</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>email.isPrivate</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>surname</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>surname</td>
	<td>mason</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//a[contains(@href, 'viewPersonDisplay.do?id=235')]</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>18 Marilyn Way</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Ringwood</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>3333</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>City of Kingston</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Po Box 144</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>98889999</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>0402221234</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>jeff@email.com</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>employment.industryCode</td>
	<td>label=Communications</td>
</tr>
<tr>
	<td>select</td>
	<td>employment.industryCode</td>
	<td>label=Public Service</td>
</tr>
<tr>
	<td>type</td>
	<td>employment.occupation</td>
	<td>Customs Officer</td>
</tr>
<tr>
	<td>type</td>
	<td>employment.company</td>
	<td>Austraiian Customs</td>
</tr>
<tr>
	<td>type</td>
	<td>employment.workAddress.numberAndStreet</td>
	<td>8 Latrobe St</td>
</tr>
<tr>
	<td>type</td>
	<td>employment.workAddress.suburb</td>
	<td>Melbourne</td>
</tr>
<tr>
	<td>type</td>
	<td>employment.workAddress.postCode</td>
	<td>3212</td>
</tr>
<tr>
	<td>type</td>
	<td>employment.phone.contact</td>
	<td>88776655</td>
</tr>
<tr>
	<td>click</td>
	<td>employment.phone.isPrivate</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>employment.phone.isPrivate</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>firstName</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>Jeff</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Public Service</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Customs Officer</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>8 Latrobe St</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>88776655</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>distanceFromChurch</td>
	<td>24</td>
</tr>
<tr>
	<td>type</td>
	<td>smallGroup</td>
	<td>Mason's</td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableDepartments</td>
	<td>label=Aged Ministries</td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableDepartments</td>
	<td>label=Tiny Tackers</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availablePreferences</td>
	<td>label=Office Administration</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD' and @type='button' and @onclick='move(this.form.availablePreferences, this.form.ministryPreferences)']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>surname</td>
	<td>Mason</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//a[contains(@href, 'viewPersonDisplay.do?id=235')]</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Mason's</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>24</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>newGifting</td>
	<td>Collaboration</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='NEW']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>newTalent</td>
	<td>Computer Skills</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='NEW' and @type='button' and @onclick='addNewTalent()']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>newPassion</td>
	<td>Homeless</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='NEW' and @type='button' and @onclick='addNewPassion()']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availablePassions</td>
	<td>label=tthhj</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD' and @type='button' and @onclick='move(this.form.availablePassions, this.form.assignedPassions)']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableTalents</td>
	<td>label=gghhj</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD' and @type='button' and @onclick='move(this.form.availableTalents, this.form.assignedTalents)']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableGiftings</td>
	<td>label=Administration</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD' and @type='button' and @onclick='move(this.form.availableGiftings, this.form.assignedGiftings)']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>firstName</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>Jeff</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Administration</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>gghhj</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>tthhj</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>choleric</td>
	<td>1</td>
</tr>
<tr>
	<td>type</td>
	<td>melancholy</td>
	<td>2</td>
</tr>
<tr>
	<td>type</td>
	<td>phlegmatic</td>
	<td>3</td>
</tr>
<tr>
	<td>type</td>
	<td>sanguine</td>
	<td>4</td>
</tr>
<tr>
	<td>select</td>
	<td>maritalStatusCode</td>
	<td>label=Married</td>
</tr>
<tr>
	<td>type</td>
	<td>marriedDate</td>
	<td>12/12/2000</td>
</tr>
<tr>
	<td>click</td>
	<td>christian</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>christianDate</td>
	<td>10/10/1990</td>
</tr>
<tr>
	<td>click</td>
	<td>baptised</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>firstName</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>jeff</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>12/12/2000</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Married</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>10/10/1990</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>dreams</td>
	<td>My Dream is...</td>
</tr>
<tr>
	<td>type</td>
	<td>ministryTrack</td>
	<td>My Minstry track is...</td>
</tr>
<tr>
	<td>type</td>
	<td>heartFor</td>
	<td>My Heart For is....</td>
</tr>
<tr>
	<td>type</td>
	<td>notes</td>
	<td>My Notes are...</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>firstName</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>jeff</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='Delete']</td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>Are you sure you want to delete this Person?</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>firstName</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>jeff</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>assertTextNotPresent</td>
	<td>Mason</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Logout</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
